﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using XukaShop.Models.Entities;

namespace XukaShop.Dao
{
    public class LocationDao
    {
        private FashionShopEntities _db = new FashionShopEntities();

        /// <summary>
        /// Get List Location
        /// </summary>
        /// <returns></returns>
        public List<Location> GetListLocation()
        {
            List<Location> lstLocation = new List<Location>();
            lstLocation = (from location in _db.Location
                           select location).ToList();
            return lstLocation;
        }
    }
}